<?php
html::printPath('building.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/building/edit', text::get('building.createNew')) ?></li>
    <li class="changeOrderAction"><?php echo html::anchor('admin/building/orderForm', text::get('application.changeOrder')) ?></li>
</ul>

<?php
$elb = new EntityListBuilder($this, $buildingList, 'code');
$elb->text('code');
$elb->text('name')->alignLeft();
$elb->text('description')->alignLeft();
$elb->text('notes');
$elb->write();
